package com.example.demo.swj.uitl;

public class NeuqConstants {

    public static final String SIGN_TYPE = "signType";

    public static final String SIGN_TYPE_RSA = "RSA";

    /**
     * sha256WithRsa 算法请求类型
     */
    public static final String SIGN_TYPE_RSA2 = "RSA2";

    public static final String SIGN_TYPE_SM2 = "SM2";

    public static final String SIGN_ALGORITHMS = "SHA1WithRSA";

    public static final String SIGN_SHA256RSA_ALGORITHMS = "SHA256WithRSA";


    public static final String APP_ID = "appId";

    public static final String FORMAT = "format";

    public static final String METHOD = "method";

    public static final String TIMESTAMP = "timestamp";

    public static final String VERSION = "version";

    public static final String SIGN = "sign";


    public static final String ACCESS_TOKEN = "accessToken";

//    public static final String APP_AUTH_TOKEN                 = "app_auth_token";

    public static final String TERMINAL_TYPE = "terminal_type";

    public static final String TERMINAL_INFO = "terminal_info";

    public static final String CHARSET = "charset";

    public static final String ENCRYPT_TYPE = "encryptType";

    //-----===-------///

    public static final String QUERY_CONTENT_KEY = "queryContent";

    public static final String BIZ_CONTENT_KEY = "bizContent";

    /**
     * 默认时间格式
     **/
    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    /**
     * Date默认时区
     **/
    public static final String DATE_TIMEZONE = "GMT+8";

    /**
     * UTF-8字符集
     **/
    public static final String CHARSET_UTF8 = "UTF-8";

    /**
     * GBK字符集
     **/
    public static final String CHARSET_GBK = "GBK";

    /**
     * JSON 应格式
     */
    public static final String FORMAT_JSON = "json";

    /**
     * XML 应格式
     */
    public static final String FORMAT_XML = "xml";

    public static final String NONCESTR = "nonceStr";

    public static class EncryptType {
        public static final String NONE = "NONE";
        public static final String AES = "AES";
        public static final String SM4 = "SM4";

    }

    public static class RequestMethod {
        public static final String GET = "get";
        public static final String POST = "post";
        public static final String POST_WITH_JSON = "postWithJson";
    }

    public static final String GATEWAY_CODE_SUCC = "NUG-1000";

    public static final String GATEWAY_SUB_CODE_SUCC = "00000";


}
